<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>
<f:view>
  <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
      <af:panelStretchLayout id="psl1" bottomHeight="3px">
        <f:facet name="top"/>
        <f:facet name="center">
          <af:panelTabbed id="pt1">
            <af:showDetailItem text="Resultado por Persona" id="sdi1">
              <af:panelBorderLayout id="pbl1">
                <f:facet name="start"/>
                <f:facet name="bottom"/>
                <f:facet name="end">
                  <af:commandButton text="Ver Reporte" id="btoVerReport"
                                    action="#{HacerReporte.btoVerReport_action}"/>
                </f:facet>
                <f:facet name="top">
                  <af:table value="#{bindings.personaVO1.collectionModel}"
                            var="row" rows="#{bindings.personaVO1.rangeSize}"
                            emptyText="#{bindings.personaVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                            fetchSize="#{bindings.personaVO1.rangeSize}"
                            rowBandingInterval="0"
                            filterModel="#{bindings.personaVO1Query.queryDescriptor}"
                            queryListener="#{bindings.personaVO1Query.processQuery}"
                            filterVisible="true" varStatus="vs"
                            selectedRowKeys="#{bindings.personaVO1.collectionModel.selectedRow}"
                            selectionListener="#{bindings.personaVO1.collectionModel.makeCurrent}"
                            rowSelection="single" id="t2">
                    <af:column sortProperty="Idpersona" filterable="true"
                               sortable="true"
                               headerText="#{bindings.personaVO1.hints.Idpersona.label}"
                               id="c5">
                      <af:outputText value="#{row.Idpersona}" id="ot10">
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.personaVO1.hints.Idpersona.format}"/>
                      </af:outputText>
                    </af:column>
                    <af:column sortProperty="Apellido" filterable="true"
                               sortable="true"
                               headerText="#{bindings.personaVO1.hints.Apellido.label}"
                               id="c10">
                      <af:outputText value="#{row.Apellido}" id="ot6"/>
                    </af:column>
                    <af:column sortProperty="Nombre" filterable="true"
                               sortable="true"
                               headerText="#{bindings.personaVO1.hints.Nombre.label}"
                               id="c6">
                      <af:outputText value="#{row.Nombre}" id="ot8"/>
                    </af:column>
                    <af:column sortProperty="Correo" filterable="true"
                               sortable="true"
                               headerText="#{bindings.personaVO1.hints.Correo.label}"
                               id="c9">
                      <af:outputText value="#{row.Correo}" id="ot5"/>
                    </af:column>
                    <af:column sortProperty="Dpi" filterable="true"
                               sortable="true"
                               headerText="#{bindings.personaVO1.hints.Dpi.label}"
                               id="c7">
                      <af:outputText value="#{row.Dpi}" id="ot9">
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.personaVO1.hints.Dpi.format}"/>
                      </af:outputText>
                    </af:column>
                    <af:column sortProperty="Activo" filterable="true"
                               sortable="true"
                               headerText="#{bindings.personaVO1.hints.Activo.label}"
                               id="c8">
                      <af:outputText value="#{row.Activo}" id="ot7"/>
                    </af:column>
                  </af:table>
                </f:facet>
              </af:panelBorderLayout>
            </af:showDetailItem>
            <af:showDetailItem text="Perfil" id="sdi2">
              <p>
                &nbsp;
              </p>
              <p>
                <af:panelFormLayout id="pfl2">
                  <f:facet name="footer"/>
                  <p>
                    <af:activeOutputText value="Buscar Perfil:" id="aot1"
                                         inlineStyle="font-size:large;"/><af:selectOneChoice value="#{bindings.puesto1.inputValue}"
                                                                                             label="#{bindings.puesto1.label}"
                                                                                             required="#{bindings.puesto1.hints.mandatory}"
                                                                                             shortDesc="#{bindings.puesto1.hints.tooltip}"
                                                                                             id="soc4">
                      <f:selectItems value="#{bindings.puesto1.items}"
                                     id="si4"/>
                    </af:selectOneChoice><af:commandButton actionListener="#{bindings.ExecuteWithParams.execute}"
                                                           text="ExecuteWithParams"
                                                           disabled="#{!bindings.ExecuteWithParams.enabled}"
                                                           id="cb1"
                                                           partialTriggers="t1"/>
                    <af:table value="#{bindings.Vistafinal1.collectionModel}"
                              var="row" rows="#{bindings.Vistafinal1.rangeSize}"
                              emptyText="#{bindings.Vistafinal1.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.Vistafinal1.rangeSize}"
                              rowBandingInterval="0"
                              filterModel="#{bindings.Vistafinal1Query.queryDescriptor}"
                              queryListener="#{bindings.Vistafinal1Query.processQuery}"
                              filterVisible="true" varStatus="vs"
                              selectedRowKeys="#{bindings.Vistafinal1.collectionModel.selectedRow}"
                              selectionListener="#{bindings.Vistafinal1.collectionModel.makeCurrent}"
                              rowSelection="single" id="t1"
                              inlineStyle="height:154px;" width="195">
                      <af:column sortProperty="Username" filterable="true"
                                 sortable="true"
                                 headerText="#{bindings.Vistafinal1.hints.Username.label}"
                                 id="c1">
                        <af:inputText value="#{row.bindings.Username.inputValue}"
                                      label="#{bindings.Vistafinal1.hints.Username.label}"
                                      required="#{bindings.Vistafinal1.hints.Username.mandatory}"
                                      columns="#{bindings.Vistafinal1.hints.Username.displayWidth}"
                                      maximumLength="#{bindings.Vistafinal1.hints.Username.precision}"
                                      shortDesc="#{bindings.Vistafinal1.hints.Username.tooltip}"
                                      id="it2">
                          <f:validator binding="#{row.bindings.Username.validator}"/>
                        </af:inputText>
                      </af:column>
                    </af:table>
                  </p>
                </af:panelFormLayout>
              </p>
              <p>
                &nbsp;
              </p>
              <af:panelFormLayout id="pfl1">
                <f:facet name="footer"/>
                <af:outputText value="Insertar Nuevo perfil" id="ot1"
                               inlineStyle="font-size:medium;">
                  <p>
                    &nbsp;
                  </p>
                  <p>
                    &nbsp;
                  </p>
                </af:outputText>
                <p>
                  &nbsp;
                </p>
                <p>
                  &nbsp;
                </p>
                <af:inputText value="#{bindings.puesto.inputValue}"
                              label="#{bindings.puesto.hints.label}"
                              required="#{bindings.puesto.hints.mandatory}"
                              columns="#{bindings.puesto.hints.displayWidth}"
                              maximumLength="#{bindings.puesto.hints.precision}"
                              shortDesc="#{bindings.puesto.hints.tooltip}"
                              id="it1">
                  <p>
                    &nbsp;
                  </p>
                  <p>
                    &nbsp;
                  </p>
                  <f:validator binding="#{bindings.puesto.validator}"/>
                </af:inputText>
                <af:selectOneChoice value="#{bindings.c1.inputValue}"
                                    label="#{bindings.c1.label}"
                                    required="#{bindings.c1.hints.mandatory}"
                                    shortDesc="#{bindings.c1.hints.tooltip}"
                                    id="soc1">
                  <f:selectItems value="#{bindings.c1.items}" id="si1"/>
                </af:selectOneChoice>
                <af:selectOneChoice value="#{bindings.c2.inputValue}"
                                    label="#{bindings.c2.label}"
                                    required="#{bindings.c2.hints.mandatory}"
                                    shortDesc="#{bindings.c2.hints.tooltip}"
                                    id="soc2">
                  <f:selectItems value="#{bindings.c2.items}" id="si2"/>
                </af:selectOneChoice>
                <af:selectOneChoice value="#{bindings.c3.inputValue}"
                                    label="#{bindings.c3.label}"
                                    required="#{bindings.c3.hints.mandatory}"
                                    shortDesc="#{bindings.c3.hints.tooltip}"
                                    id="soc3">
                  <f:selectItems value="#{bindings.c3.items}" id="si3"/>
                </af:selectOneChoice>
              </af:panelFormLayout>
            </af:showDetailItem>
          </af:panelTabbed>
          <!-- id="af_one_column_header_footer_stretched"   -->
        </f:facet>
        <f:facet name="bottom"/>
      </af:panelStretchLayout>
    </af:form>
  </af:document>
</f:view>
<%-- 
  oracle-jdev-comment:preferred-managed-bean-name:perfilBean
--%>